CyberArk

Amazon Web Services (AWS) CLI with STS

Description

Allows generating temporary AWS (STS) credentials for use with CLI interfaces.

The connection component enables an organization to establish security controls, such as a strict RBAC policy, and to govern whoever seeks to access AWS using the AWS CLI tool.

It provides a way to request and generate time-limited credentials to be incorporated within the AWS CLI on any operating system.

This removes the need to use long-lived standing AWS Access Keys, providing access for unlimited time, which is a high-security concern especially when you do not have a way to protect and secure the credentials. The integration reduces this security risk by establishing JIT access with the AWS CLI.

This connection component should be linked to the “Amazon Web Services (AWS) Password Management" platform. The platform is included with PAM deployments, but can also be downloaded from CyberArk Marketplace:

https://cyberark-customers.force.com/mplace/s/#a3550000000EiACAA0-a3950000000jjSPAAY


More on how to onboard AWS roles to CyberArk PAM: CyberArk AWS Console with STS Connection Component – Example Configuration



Vendor

This connection component is designed for secure connection to the following target:

VendorAmazon
ProductAmazon Web Services (AWS)
Product CategoryCloud Service
Product VersionsCurrent



CyberArk

This connection component works with the following CyberArk versions:

CyberArk Solution

Privileged Session Management 

CyberArk Product

Privileged Session Manager (PSM)

CyberArk Versions9.x
Artifact Version1.0
Out of the Box

NO

Out of the Box in versionsN/A



Support & Certification

Support Level

STANDARD

Developed byCyberArk
Certification Level

CERTIFIED



Linked Accounts

Logon Account

Supported

YES

Required

YES

Platforms

AWS Access Keys

Permissions





Prerequisites

The "Get Role" permission must be added to the AWS ARN Role in order for the connection component to function correctly.




Installation

Do the following to set up the connection component:

StepHow To
Import the Connection Component

From PVWA navigate to Administration→Platforms, locate a relevant platform and select the "Manage PSM connectors" option.

Upload the connector package, or select it if it already exists in the list

Import the executable

Copy the AWSCLI.exe file from the installation package to the Components subfolder of the Privileged Session Manager installation folder on the PSM machine.

Configure Connection Components Parameters

In the "Target Settings" → "Client Specific" configuration, configure the AWSSessionDurationDefault and AWSSessionDurationMax parameters accordingly.

The "AWSProxyHost" and "AWSProxyPort" parameters can also be set (but are optional and can be omitted if no proxy is configured).




Configuration

Connection Component Settings

Specify the following parameters at the connection component level:

Connection Component Root Level Parameters

Parameters that define generic settings of the PSM connection component.

Parameter NameDescriptionAcceptable ValuesDefault Value
Id

A unique ID that identifies the connection component

StringPSM-AWSCLI
DisplayNameThe name to be displayed in the connection selection.StringAWS CLI

User Parameters section

Parameters that determine the information that users will be required to supply while initiating the PSM connection. These parameters can be overridden at platform or account level.

Parameter NameDescriptionAcceptable ValuesDefault ValueVisibleRequiredTypeEnforce In Dual Control Request
AWSSessionDurationDefault

A default AWS session duration, displayed to an end-user upon application launch.

Value is set in minutes.

Must be larger than or equal to 15 (minimum AWS session duration)

Must be less than or equal to maximum AWS session duration of the AWS ARN role

30NoYesIntegerNo
AWSSessionDurationMax

A maximum AWS session duration that end-user would be able to set.

Must not exceed the maximum session duration of the AWS ARN role.

Value is set in minutes.

Must be less than or equal to maximum AWS session duration of the ARN role.90NoYesIntegerNo
AWSProxyHostA proxy host when establishing connection to AWS via AWS SDK.A valid hostnameN/ANoNoStringNo
AWSProxyPort

A proxy port when establishing connection to AWS via AWS SDK.

A proxy host must be configured for the proxy port to function properly.

A valid portN/ANoNoIntegerNo

Account Settings

Target Account Mandatory Parameters

Specify the following parameters on the target account:

Parameter NameDescriptionAcceptable Values
AWSAccountIDAWS Account IDString
AWSARNRole

Full value of AWS ARN Role in a format defined by AWS

See the AWS documentation:

https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

The target account must be using OOB/Marketplace Amazon Web Services - AWS platform.

Logon Account Mandatory Parameters

Specify the following parameters on the logon account:

Parameter NameDescriptionAcceptable Values
AWSAccessKeyIDAWS Access Key ID of IAM user, generated in AWSString
Access Key / AWS Secret Access KeyAWS Secret Access Key of IAM user, generated in AWS (stored as Access Key in CyberArk)String


The logon account must be using OOB/Marketplace Amazon Web Services - AWS - Access Keys platform.